package tds.model14;
/**
 * @Company 杭州先锋电子技术股份有限公司
 * @ClassName ConcreteBuilder1
 * @Description 具体建造类1
 * @author tds
 * @Date 2020/1/20 16:13
 * @version 1.0.0
 */
public class ConcreteBuilder1 extends Builder {

    private Product product = new Product();

    @Override
    public void buildPartA() {
        product.add("部件A");
    }

    @Override
    public void buildPartB() {
        product.add("部件B");
    }

    @Override
    public Product getResult() {
        return product;
    }
}
